package cn.yangliu.task.entity;

/**
 * 作者 杨柳
 * 时间 2017-10-19 14:46
 * 描述
 */
public class PageInfo {

    private int pageNum;

    private int pageSize;

    private int startRow;

    private int total;

    private int pages;

    public PageInfo(){}

    public PageInfo(int pageNum, int pageSize, int startRow, int total,int pages) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.startRow = startRow;
        this.total = total;
        this.pages = pages;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getStartRow() {
        return startRow;
    }

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
